package com.naiterui.ehp.bs.emr.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.io.Serializable;

/**
 * @Description 发送病例VO
 * @Author gongbaoqiang
 * @Date 2019/11/29 3:34 PM
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@ToString
@ApiModel(value = "SendCaseVO", description = "保存病历返回VO")
public class SendCaseVO implements Serializable {
    private static final long serialVersionUID = 2313334440408703753L;


    @ApiModelProperty(value = "true:需要反写本地备注,false不需要")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Boolean remarkFlag;

    @ApiModelProperty(value = "病历id")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String recordId;

    @ApiModelProperty(value = "会话id")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String sessionId;

    @ApiModelProperty(value = "消息ID")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String messageId;

    @ApiModelProperty(value = "发送时间(毫秒)")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Long sendTime;

    @ApiModelProperty(value = "会话开启时间(毫秒)")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Long beginTime;

    @ApiModelProperty(value = "是否经过开启新会话")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Boolean newSessionFlag;

    @ApiModelProperty(value = "是否是付费会话，0:免费，1付费")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Integer consultPayType;

    @ApiModelProperty(value = "会话发起类型，0-普通免费会话，1-患者发起普通付费咨询，2-线上诊室找医生会话 ")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Integer consultSourceType;

}
